package chapter04;

public class Test03_throws1 {
    //可以将异常向上继续抛出
    public static void main(String[] args)throws Exception {
        int c = divide(10,0);
        System.out.println(c);
    }
    static int divide(int a,int b) throws Exception{
        return a/b;
    }
}
